package com.gitee.hermer.engine.jars.dependent.dubbo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import com.gitee.hermer.engine.jars.core.domain.EngineConstant;
import com.gitee.hermer.engine.jars.dependent.dsm.domain.EngineProperties;

@PropertySource(EngineConstant.ENGINE_CONFIG_PROPERTIES_CLASS_PATH)
public class DubboProperties extends EngineProperties{

	@Value(EngineConstant.PROPERTIES_KEY_ENGINE_CONFIG_DSM_APP_NAME)
	private String appName;
	@Value(EngineConstant.PROPERTIES_KEY_ENGINE_CONFIG_DUBBO_PROTOCOL)
	private String protocol;

	public String getAppName() {
		return appName;
	}

	public String getProtocol() {
		return protocol;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

}
